package com.health.userbackstage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.health.userbackstage.pojo.CheckGroup;
import com.health.userbackstage.pojo.CheckItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CheckItemService extends IService<CheckItem> {


    public List<CheckItem> findAll();


    public int update(CheckItem checkItem);

    public int add(CheckItem checkItem);

    public int del(Integer id);

    public PageInfo<CheckItem> findPage(int pageNum, int pageSize);

    public List<Integer> findcgid(Integer ciid);

    public CheckItem selectOneByCode(CheckItem checkItem);

    public CheckItem selectOneByName(CheckItem checkItem);


}
